//@import "../../style/iconfont.wxss";
@import "../../style/pubLayout.wxss";

/*.g-container{
  height: 100%;
  display: block;
  .g-header{
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 100;
  }
  .g-main{
    height: auto;
    min-height: 100vh;
    padding: 88rpx 0 126rpx;
    box-sizing: border-box;
  }
  .g-footer{
    position: fixed !important;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 100;
    background: #F2F3F5;
  }
}*/

.g-header{
  position: relative;
  & > i{
    position: absolute;
    left: 10rpx;
    font-size: 60rpx;
  }
}
.g-main{
  flex: 1;
  height: 0;
  //overflow: auto;
  .sub-wrap{
    transition: all 0.3s;
    margin-bottom: 20rpx;
    .sub-top{
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20rpx 20rpx 20rpx 0;
      font-size: 32rpx;
      color: #101010;
      .sub-title{
        border-left: 6rpx solid #0251FF;
        padding-left: 14rpx;
        font-weight: bold;
      }
    }
    .sub-mid{
      .m-form{
        font-size: 38rpx;
      }

      .cel{
        background: #ffffff;
        display: flex;
        padding: 32rpx 20rpx;
        &.cel-col{
          flex-direction: column;
          .cel-val{
            text-align: left;
          }
        }
        &+ .cel{
          margin-top: 20rpx;
        }
        .cel-key{
          font-size: 28rpx;
          color: #828282;
          //width: 138rpx;
          //flex-shrink: 0;
          padding-right: 10rpx;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }
        .cel-val{
          color: #000;
          font-size: 28rpx;
          flex: 1;
          text-align: right;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;

        }
      }
    }

    &.sub-hide{
      background: #ffffff;
      border-top: 1px solid #bebebe;
      border-bottom: 1px solid #bebebe;
      .sub-title{
        border-left: 6rpx solid #bebebe;
      }
      .sub-mid{
        //max-height: 0;
        display: none;
      }
    }
  }
}
.g-footer{
  padding: 20rpx;
  display: flex;
  .btn{
    width: 100%;
    color: #ffffff;
    background: #2882FE;
    -webkit-border-radius: 10rpx;
    -moz-border-radius: 10rpx;
    border-radius: 10rpx;
    text-align: center;
    height: 86rpx;
    line-height: 86rpx;
    & + .btn{
      margin-left: 20rpx;
    }
    &:active{
      background: #2876ec;
    }
    &.btn-grey{
      background: #b0b0b0;
      &:active{
        background: #979797;
      }
    }
    &.btn-green{
      background: #01C257;
      &:active{
        background: #01ad51;
      }
    }
  }
}
